/**
 * Created by Administrator on 2015/11/23.
 */

var IUser = require("../api/service").IUser

module.exports = function (app) {

    app.get('/', function *() {
        yield this.render('index', {
            title: "首页"
        })
    })
    app.get('/recipe', function *() {
        yield this.render('recipe', {
            title: "菜谱"
        })
    })
    app.get('/menu', function *() {
        yield this.render('menu', {
            title: "菜单"
        })
    })
    app.get('/login', function *() {
        yield this.render('login', {
            title: "登录"
        })
    })
    app.get('/register', function *() {
        yield this.render('register', {
            title: "注册"
        })
    })
}